<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript" src="./ckeditor/ckeditor.js"></script>
<script src="resources/js/patient/noticeEdit.js"></script>
<link type="text/css" rel="stylesheet"
	href="resources/css/patient/articleHeader.css">
<link type="text/css" rel="stylesheet"
	href="resources/css/patient/noticeWrite.css">
<div>
	<div class="nav_information">
		<img src="resources/images/gr_navi_home.png">&nbsp;&nbsp;>&nbsp;&nbsp;병원소식
	</div>
	<div class="nav_detail_name">병원소식</div>
	<div class="nav_information_detail">
		<div class="nav_information_detail_bgimg">
			<p>메디컬탑병원 공지 및 소식 입니다.</p>
			<p>병원을 이용하시는 고객을 위하여 다양한 소식과 서비스를 알려드립니다.</p>
		</div>
	</div>
</div>
<div class="body_div">
	<form method="post">
		<table class="content_table">
			<tr>
				<td id="m_td">제목</td>
				<td colspan="3"><input type="text" name="title"
					value="${notice.title }" required="required"></td>
			<tr>
			<tr>
				<td id="m_td">작성자</td>
				<td id="writer">${notice.writer }</td>
				<td id="m_td">작성일</td>
				<td>${notice.write_date }</td>
			<tr>
			<tr>
				<td id="m_td">내용</td>
				<td colspan="3"></td>
			</tr>
			<tr>
				<td colspan="4"><div id="#tarea">
						<textarea id="cont" rows="20" cols="100" name="content"
							required="required">${notice.content }</textarea>
					</div></td>
			</tr>
		</table>
		<div class="writeCancelBtnDiv">
			<input type="submit" id="noticeBtn" class="normalBtn" value="확인">
			<input type="button" id="noticeBtn" class="normalBtn" value="취소"
				onclick="history.back(1);">
		</div>
	</form>
</div>
<script type="text/javascript">
	CKEDITOR.replace('content', {
		toolbar : 'standard',
		uiColor : '#9AB8F3',
		height : '500px',
		enterMode : CKEDITOR.ENTER_BR, // 에디터 엔터를 <br> 태그를 사용함.
		shiftEnterMode : CKEDITOR.ENTER_P // 에디터 시프트 + 엔터를 <p> 태그를 사용함
	});
</script>